package com.soft.manage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.soft.common.annotation.Excel;
import com.soft.common.core.domain.BaseEntity;

/**
 * 软著申请情况对象 ruanzhu_apply_info
 *
 * @author mobin
 * @date 2025-06-04
 */
@TableName(resultMap = "com.soft.manage.mapper.RuanzhuApplyInfoMapper.RuanzhuApplyInfoResult")
public class RuanzhuApplyInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Excel(name = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 申请名称
     */
    @Excel(name = "申请名称")
    private String applyName;

    /**
     * 著作权人
     */
    @Excel(name = "著作权人")
    private Long applyUser;

    /**
     * 软著类型
     */
    @Excel(name = "软著类型")
    private Long applyType;

    /**
     * 当前阶段
     */
    @Excel(name = "当前阶段")
    private Long currentFlow;

    /**
     * 申请通过后的图片
     */
    @Excel(name = "申请通过后的图片")
    private String image;

    /**
     * 申请通过后的pdf文件
     */
    @Excel(name = "申请通过后的pdf文件")
    private String pdfFile;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyUser(Long applyUser) {
        this.applyUser = applyUser;
    }

    public Long getApplyUser() {
        return applyUser;
    }

    public void setApplyType(Long applyType) {
        this.applyType = applyType;
    }

    public Long getApplyType() {
        return applyType;
    }

    public void setCurrentFlow(Long currentFlow) {
        this.currentFlow = currentFlow;
    }

    public Long getCurrentFlow() {
        return currentFlow;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setPdfFile(String pdfFile) {
        this.pdfFile = pdfFile;
    }

    public String getPdfFile() {
        return pdfFile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("applyName", getApplyName())
                .append("applyUser", getApplyUser())
                .append("applyType", getApplyType())
                .append("currentFlow", getCurrentFlow())
                .append("image", getImage())
                .append("pdfFile", getPdfFile())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
